home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
Tools
/
freeWAIS-sf-1.1
/
Defaults.tmpl
< prev
next >
Wrap
Text File
|
1995-07-26
|
8KB
|
313 lines
/* Defaults.tmpl. Generated automatically by configure. */
/* Defaults.tmpl.in. Generated automatically from configure.in by autoheader. */
/* -*- Mode: C -*-
* Defaults.tmpl.top --
* ITIID : $ITI$ $Header $__Header$
* Author : Ulrich Pfeifer
* Created On : Wed May 11 09:30:19 1994
* Last Modified By: Ulrich Pfeifer
* Last Modified On: Wed Sep 7 15:27:07 1994
* Update Count : 15
* Status : Unknown, Use with caution!
*/
#define AUTOCONF
#define SECURE_SERVER
#define RELEVANCE_FEEDBACK
#define USG
#define BOOLEANS
#define PARTIALWORD
#define LITERAL
#define SOUND
#define BIBDB
#define NESTED_BOOLEANS
#define FIELDS
#define ESSENCE
#define STEM_WORDS
#define TELL_USER
/*
* use improved NEW_WEIGHT ?
*/
#define NEW_WEIGHT
/*
* fork when handling a client
*/
#define QUERY_FORK
/*
* Length of the headers
*/
#define MAX_HEADER_LEN 100
#define MAX_AUTHOR_LEN 25
#define MAX_DATE_LEN 4
#define MAX_WORD_LENGTH 20 /* change DICTIONARY_ENTRY_SIZE when this is changed */
#define MAX_TYPE_LEN 20
#define ANSI_DATE_LENGTH 6 /* YYMMDD */
#define MAX_HEADLINE_LEN 300
/*
* theese are needed for linking freeWAIS-sf with perl
*/
#define yyparse zzparse
#define yyerror zzerror
#define yylex zzlex
#define warn wwarn
#define any waisany
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
/* #undef _ALL_SOURCE */
#endif
/* Define if using alloca.c. */
#define C_ALLOCA 1
/* Define if type char is unsigned and you are not using gcc. */
/* #undef __CHAR_UNSIGNED__ */
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define if you have dirent.h. */
#define DIRENT 1
/* Define if you have alloca.h and it should be used (not Ultrix). */
/* #undef HAVE_ALLOCA_H */
/* Define if on MINIX. */
/* #undef _MINIX */
/* Define if you don't have dirent.h, but have ndir.h. */
/* #undef NDIR */
/* Define if the system does not provide POSIX.1 features except
with this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define if you need to in order for stat and other things to work. */
/* #undef _POSIX_SOURCE */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown
*/
#define STACK_DIRECTION -1
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if you don't have dirent.h, but have sys/dir.h. */
/* #undef SYSDIR */
/* Define if you don't have dirent.h, but have sys/ndir.h. */
/* #undef SYSNDIR */
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Define if your <sys/time.h> declares struct tm. */
/* #undef TM_IN_SYS_TIME */
/* Define if the closedir function returns void instead of int. */
/* #undef VOID_CLOSEDIR */
/*
* freeWAIS-sf Version String
*/
#define FREE_WAIS_SF_VERSION_STRING "freeWAIS-sf Release 1.1"
#define _DISTNAME_ freeWAIS-sf
#define FREE_WAIS_SF_VERSION 1.1
/*
* what is the name of the global variable containing the ctype character
* classes ?
*/
/* #undef CTYPEVAR */
/*
* If you want to use your buldin regexp (on a SUN!),
* just delete the following line.
* If you get a compiler message complaining about 'circf' unknown
* defining SYSVREGEXP may help.
*/
#define SYSVREGEXP 1
/*
* You need flex to compile with this support for 8bit chars.
* if you don't have flex or don't like 8-bit chars, just remove
* the '#define ISO'
* Set LCHARS to a string containing your additional lower case letters .
* and UCHARS to the *corresponding upper case letters
*
* If you just want to use flex, edit ir/Imakefile and set LEX = flex
*/
#define ISO 1
#ifndef LCHARS
#define LCHARS "Σ÷ⁿ▀"
#endif
#ifndef UCHARS
#define UCHARS "─╓▄▀"
#endif
/*
* Do you want the compile with the -DLOCAL_SEARCH switch
*/
#define LOCAL_SEARCH 1
/*
* will you have headline files greater that 64MB?
* Then set this define. You can't use old index files !!!
*/
/* #undef HUGE_HEADLINES */
/* #undef HAVE_ALPHASORT */
/* #undef HAVE_SCANDIR */
#define HAVE_MEMMOVE 1
#define HAVE_REMOVE 1
#define HAVE_GETCWD 1
#define HAVE_GETWD 1
/*
* use url's a document id's with doctype URL? You cannot retrieve
* these documents from the waisserver if you define this macro.
* but url's arn't retrieved usually by wais servers :-)
*/
/* #undef URLDOCID */
/*
* some systems call inet_ntoa with pointer, some with the struct
*/
/* #undef INET_NTOA_WITH_POINTER */
#define INET_NTOA_WITH_STRUCT 1
/*
* program to decompress "*.Z" files
*/
#define UNCOMPRESSOR "/usr/bin/zcat"
/*
* program to decompress "*.gz" files
*/
#define UNZIPPER "/usr/skunk/bin/gzcat"
/*
* SGIs running IRIX 5 have getrnge is declared in <regexp.h>
*/
#define HAVE_GETRNGE 1
/*
* Try the ANSI mode
* Not working yet
*/
#ifdef STDC_HEADERS
/* #define ANSI_LIKE */
#endif
/*
* Do not send and UDP packet to dortmund
*/
/* #undef DO_NOT_TELL_ABOUT_ME */
/*
* Can you bcopy() do overlapping copies ?
*/
#ifndef _AUX_SOURCE /* That's bad !!! */
#define BCOPY_OVERLAP 1
#endif /* _AUX_SOURCE */
/*
* Can you memcpy() do overlapping copies ?
*/
#ifndef _AUX_SOURCE /* That's bad !!! */
/* #undef MEMCPY_OVERLAP */
#endif /* _AUX_SOURCE */
/*
* do you want to cache synonym files in shared memory
*/
/* #undef CACHE_SYN */
/*
* what compiler are you using ?
*/
#define COMPILER_VERSION "cc"
/*
* are you compiling on a HPUX system ?
*/
/* #undef _HPUX_SOURCE */
/* Define if you have bcopy. */
#define HAVE_BCOPY 1
/* Define if you have memcpy. */
#define HAVE_MEMCPY 1
/* Define if you have memmove. */
#define HAVE_MEMMOVE 1
/* Define if you have strdup. */
#define HAVE_STRDUP 1
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <sys/fcntl.h> header file. */
#define HAVE_SYS_FCNTL_H 1
/* Define if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define if you have the <sys/shm.h> header file. */
#define HAVE_SYS_SHM_H 1
/* Define if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the cs library (-lcs). */
/* #undef HAVE_LIBCS */
/* Define if you have the fl library (-lfl). */
/* #undef HAVE_LIBFL */
/* Define if you have the intl library (-lintl). */
/* #undef HAVE_LIBINTL */
/* Define if you have the malloc library (-lmalloc). */
/* #undef HAVE_LIBMALLOC */
/* Define if you have the nsl library (-lnsl). */
/* #undef HAVE_LIBNSL */
/* Define if you have the seq library (-lseq). */
/* #undef HAVE_LIBSEQ */
/* Define if you have the socket library (-lsocket). */
/* #undef HAVE_LIBSOCKET */
/* Define if you have the sun library (-lsun). */
/* #undef HAVE_LIBSUN */